#!/usr/bin/python
# -*- coding: utf-8 -*-

BM3823_MCFG1_ADDR				= 0x80000000
BM3823_MCFG2_ADDR				= 0x81000004
BM3823_MCFG3_ADDR				= 0x81000008
#BM3823_MCFG1_ADDR				= 0x80000000
#BM3823_MCFG2_ADDR				= 0x80000004
#BM3823_MCFG3_ADDR				= 0x80000008
BM3823_CACHE_CTRL_ADDR			= 0x80000014
BM3823_LEONCFG_ADDR				= 0x80000024
BM3823_OCRAMCFG_ADDR			= 0x80000030

BM3823_INTR_MASK_ADDR			= 0x80000090
BM3823_INTR_PEND_ADDR			= 0x80000094
BM3823_INTR_FORCE_ADDR			= 0x80000098
BM3823_INTR_CLEAR_ADDR			= 0x8000009C

BM3823_INT2_MASK_ADDR			= 0x800000B0
BM3823_INT2_PEND_ADDR			= 0x800000B4
BM3823_INT2_STAT_ADDR			= 0x800000B8
BM3823_INT2_CLEAR_ADDR			= 0x800000B8

BM3823_DSU_UART_STAT_ADDR		= 0x800000C4
BM3823_DSU_UART_CTRL_ADDR		= 0x800000C8
BM3823_DSU_UART_BAUD_ADDR		= 0x800000CC

BM3823_DSU_DCR_ADDR				= 0x90000000
BM3823_DSU_TCR_ADDR				= 0x90000004

BM3823_DSU_TRACE_ADDR			= 0x90010000
BM3823_DSU_STACK_ADDR			= 0x90020000
BM3823_DSU_ENV_ADDR				= 0x90080000
BM3823_DSU_ICACHE_TAGS_ADDR		= 0x90100000
BM3823_DSU_ICACHE_DATA_ADDR		= 0x90140000
BM3823_DSU_DCACHE_TAGS_ADDR		= 0x90180000
BM3823_DSU_DCACHE_DATA_ADDR		= 0x901C0000
